package com.example.glgk.mapper;


import com.example.glgk.dto.IndicatorCalculate;
import com.example.glgk.dto.QueryEscalation;
import com.example.glgk.dto.indicator.IndicatorCalculateDto;
import com.example.glgk.entity.DepartmentIndicatorEntity;
import com.example.glgk.entity.ElementDataDayEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lxk
 */
@Mapper
public interface ElementDataDayMapper {


    List<DepartmentIndicatorEntity> queryGroupByTime(IndicatorCalculate indicatorCalculate);

    List<DepartmentIndicatorEntity> queryEscalation(QueryEscalation queryEscalation);


    //-------------------------------------------------

    List<DepartmentIndicatorEntity> queryEscalationNew(QueryEscalation queryEscalation);

    //职能部门和院领导汇总查询
    List<DepartmentIndicatorEntity> queryEscalationGroupByDay(QueryEscalation queryEscalation);

    //科室数据查询
    List<DepartmentIndicatorEntity> queryClinicalGroupByDay(QueryEscalation queryEscalation);

    //科室汇总查询
    List<DepartmentIndicatorEntity> queryGatherClinicalGroupByDay(QueryEscalation queryEscalation);


    //-------------------------------------------------

    /**
     * 部门/科室页面
     * @param queryEscalation
     * @return
     */
    List<DepartmentIndicatorEntity> queryEscalationDept(QueryEscalation queryEscalation);

    List<DepartmentIndicatorEntity> queryData(IndicatorCalculateDto indicatorCalculateDto);

    List<DepartmentIndicatorEntity> queryClinicalSpecialGroupByDay(QueryEscalation queryEscalation);
}
